<template>
	<h1>
		<img v-if="src" :src="src" >
	</h1>
</template>

<script>
	import {$download} from '@/puigins/request.js'
	export default{
		created() {
			$download('/test/blobTest').then(res=>{
				console.log(res)
				let url = window.URL.createObjectURL(res.binary);
				this.src=url
			})
		},
		data(){
			return {
				src:''
			}
		}
	}
</script>

<style>
</style>
